package com.hb.trade.server.center.sys.service;

import com.hb.core.pojo.center.sys.entity.NewsCenter;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 消息中心 服务类
 * </p>
 *
 * @author zhongdl
 * @since 2022-02-18
 */
public interface NewsCenterService extends IService<NewsCenter> {
    /**
     *
     * @Description: 获得读和未读的状态个数(传null则为全部)
     * @Author: zhongdl
     * @Date:2022/2/18 17:10
     * @param receiverId:
     * @param readFlag:
     * @return: {@link int }
     **/
    long readFlagCount(Long receiverId, Integer readFlag,Integer roleSign );
}
